package com.ruoyi.listen.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 领导听课对象 listen_leader
 * 
 * @author yepanpan
 * @date 2021-03-15
 */

@ApiModel("领导听课实体")
@Data
public class ListenLeader extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增长主键ID */
    @ApiModelProperty("${comment}")
    private Long id;

    /** 领导 */
    @ApiModelProperty("领导")
    private Long leaderId;

    @Excel(name = "领导")
    private String leaderName;

    /** 课程 */
    @ApiModelProperty("课程")
    private Long courseId;

    @Excel(name = "课程")
    private String courseName;

    /** 教师 */
    @ApiModelProperty("教师")
    private Long teacherId;

    @Excel(name = "教师")
    private String teacherName;

    /** 听课日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "听课日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("听课日期")
    private Date listenDate;

    /** 节次 */
    @Excel(name = "节次", dictType = "teach_section")
    @ApiModelProperty("节次")
    private String section;


}
